package com.edu.cuotibook.dao.mapper;

import com.edu.cuotibook.entity.pojo.WrongAnswer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WrongAnswerDao {
    int insert(@Param("pojo") WrongAnswer pojo);

    int insertSelective(@Param("pojo") WrongAnswer pojo);

    int insertList(@Param("pojos") List<WrongAnswer> pojo);

    int update(@Param("pojo") WrongAnswer pojo);

    List<WrongAnswer> selectByExamId(Long examId);
}
